const router = require('koa-router')()
const Programmer = require('../redis/config.js')
console.log(Programmer)
router.prefix('/student')

router.get('/', async (ctx, next) => {
    let username = ctx.cookies.get("username")
    console.log("------------------------", username)



    await ctx.render('student/index', {
        title: 'HSLLSLLLLSDS测试版本!' + username
    })
})

module.exports = router